@layout("/common/_container.html",{js:["/assets/goods/goods_add.js"]}){

<div class="layui-body-header">
    <span class="layui-body-header-title">添加</span>
</div>

<div class="layui-fluid " style="">
    <div class="layui-card">
        <div class="layui-card-body">
            <form id="goodsForm" lay-filter="goodsForm" class="layui-form model-form" style="max-width: 700px;margin: 40px auto;">
                <input name="id" type="hidden"/>
                <div class="layui-form-item">
                    <label class="layui-form-label">商品编号<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="usercode" name="usercode" placeholder="请输入商品编号" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">单位条形码<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="barcode" name="barcode" placeholder="请输入单位条形码" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">商品全称<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="fullname" name="fullname" placeholder="请输入商品全称" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">商品简称<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="name" name="name" placeholder="请输入商品简称" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">类型<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="type" name="type" placeholder="请输入类型" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">产地<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="area" name="area" placeholder="请输入产地" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">规格<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="standard" name="standard" placeholder="请输入规格" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">商品备注<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="comment" name="comment" placeholder="请输入商品备注" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">是否置顶<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="isstop" name="isstop" placeholder="请输入是否置顶" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">品牌<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="brandname" name="brandname" placeholder="请输入品牌" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">重量<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="weight" name="weight" placeholder="请输入重量" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">长度<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="length" name="length" placeholder="请输入长度" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">宽度<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="width" name="width" placeholder="请输入宽度" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">高度<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="height" name="height" placeholder="请输入高度" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">价格<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="price" name="price" placeholder="请输入价格" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">是否上架[0、未上架 1、上架 ]<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
<!--
                        <input id="state" name="state" placeholder="请输入是否上架[0、未上架 1、上架 ]" type="text" class="layui-input" lay-verify="required" required/>
-->
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-input-block">
                        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
                        <button class="layui-btn layui-btn-primary" type="button" id="backupPage">&emsp;返回&emsp;</button>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>

@}